﻿#pragma once


// CComDlg 对话框

class CComDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CComDlg)

public:
	CComDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CComDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DLG_COM };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()

public:
	void ReadConfig();
	void SaveConfig();
	CString m_ComNum;
	CString m_ComBaudrate;
	afx_msg void OnBnClickedBtnSave();
	afx_msg void OnBnClickedBtnStart();
public:
	int m_nScrewFlag;
	BOOL PassPCBSNFlag;
	BOOL SNLengthCheck;
	int PCBSNLength;
	int QiankeSNLength;
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	BOOL PassQKSNFlag;
	BOOL dianpiancheck;
	int m_buchang;
	BOOL PassFixFlag;
};
